package com.john.single;

public class TeacherTest {
	
	public static void main(String[] args) {
		Teacher t1 = Teacher.getTeacher();
		Teacher t2 = Teacher.getTeacher();
		System.out.println(t1 == t2); // true
		
		t1.teach();
		t2.teach();
	}
}
